#include<libavutil/log.h>
#include<libavformat/avformat.h>
int main(int argc, char const *argv[])
{     
      int ret;
      AVFormatContext *ctx=NULL;
      av_log_set_level(AV_LOG_DEBUG);
      av_register_all();
      ret=avformat_open_input(&ctx,"/Users/renmeishan/Desktop/c/33player/asset/111.mp4",NULL,NULL);
      if (ret<0)
      {
        av_log(NULL,AV_LOG_ERROR,"No This File %s \n",av_err2str(ret));
        return -1;
      }
      av_dump_format(ctx,0,"/Users/renmeishan/Desktop/c/33player/asset/111.mp4",0);
      avformat_close_input(&ctx);
      return 0;
}
